package drp.snowbell.cfg;

/**
 * 属性的全文搜索配置
 * 
 * @author jimmy
 * 
 */
public class FullTextConfig {

	/** 是否有效 */
	private boolean enable;
	/** 是否需要分词 */
	private boolean isAnalyze;
	/** 权重 */
	private int power;
	/**
	 * 分词器类名称
	 */
	private String analyzer;

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public boolean getEnable() {
		return enable;
	}

	public void setPower(int power) {
		this.power = power;
	}

	public int getPower() {
		return power;
	}

	public boolean isAnalyze() {
		return isAnalyze;
	}

	public void setAnalyze(boolean isAnalyze) {
		this.isAnalyze = isAnalyze;
	}

	public String getAnalyzer() {
		return analyzer;
	}

	public void setAnalyzer(String analyzer) {
		this.analyzer = analyzer;
	}

}
